<div class="cp-table">
  <div class="cp-table-top clearfix" style="margin-bottom:5px;"> 时间段：
    <select id="curhour">
      <!--foreach $hourlist $h $hstr-->
      <option value="{$h}" {if $h==$hour} selected{/if}>{$hstr}</option>
      <!--/foreach-->
    </select>
  </div>
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <th width="150" align="center">时间</th>
        <th width="120" align="center">爬虫</th>
        <th align="left">抓取链接</th>
      </tr>
      <!-- foreach $list -->
      <tr>
        <td align="center">
          {date('Y-m-d H:i:s',$addtime)}
        </td>
        <td align="center"> {if isset($spider_types[$spider])}{$spider_types[$spider]}{else}{$spider}{/if}</td>
        <td align="left"> {$url}</td>
      </tr>
      <!-- /foreach -->
    </tbody>
  </table>
  <!-- if empty($list) -->
  <div class="noresult">暂时没有可显示数据</div>
  <!-- /if -->
</div>
<div class="cp-table-bottom">
  <a class="btn" style="color:#fff;" href="?m=spider&a=clean" onclick="return confirm('清除全部记录?')">清除全部记录</a>
</div>
<div class="cp-pages">
  {$page}
</div>
